package one.stand.service;

import one.stand.model.ResultModel;
import one.stand.request.CompanyRequest;
import one.stand.request.GoodSpecRequest;
import one.stand.request.GoodsRequest;
import one.stand.request.GoodstypeRequest;

/**
 * @author Administrator
 */
public interface GoodsService {

    /**
     * 查询公司信息
     */
    ResultModel getCompanyInfo(CompanyRequest companyRequest);

    /**
     * 根据公司查询产品分类
     */
    ResultModel getGoodsType(GoodstypeRequest goodstypeRequest);

    /**
     * 根据产品分类查询产品
     */
    ResultModel getGoodsList(GoodsRequest goodsRequest);

    /**
     * 根据产品查询规格
     */
    ResultModel getGoodSpec(GoodSpecRequest goodSpecRequest);

    /**
     * 根据产品详情
     */
    ResultModel getGoodsInfo(GoodsRequest goodsRequest);

    /**
     * 获取商品海报
     * @param request
     * @return
     */
    ResultModel goodsCard(GoodSpecRequest request);

}